<template>
  <div class="toAsk">
    <header>
      <van-icon name="arrow-left" @click="$router.go(-1)" />
      <h4>你想问？</h4>
    </header>
    <div class="issue">
      <p>问题</p>
      <van-icon name="arrow" @click="$router.push({ name: 'pubAsk' })" />
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style scoped lang="scss">
.toAsk {
  font-size: 32px;
  position: relative;
  header {
    width: 100%;
    height: 400px;
    background-color: #ddd;
    color: #fff;
    padding-top: 30px;
    i {
      margin-left: 30px;
    }
    h4 {
      margin: 100px 0 0 100px;
    }
  }
  .issue {
    width: 650px;
    height: 200px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 1px 1px 20px rgb(97, 97, 97);
    position: absolute;
    top: 89%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
  }
}
</style>